home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / e / misc.txt / 000084_fdc@panix.com_Mon Feb 26 15:07:51 2007.msg < prev    next >
Text File  |  2020-01-01  |  3KB  |  45 lines

  1. Path: reader2.panix.com!panix!not-for-mail
  2. From: Frank da Cruz <fdc@panix.com>
  3. Newsgroups: comp.protocols.kermit.misc,comp.unix.solaris
  4. Subject: Re: SSL Solaris 9 compile errors
  5. Followup-To: comp.protocols.kermit.misc
  6. Date: Mon, 26 Feb 2007 20:07:37 +0000 (UTC)
  7. Organization: PANIX Public Access Internet and UNIX, NYC
  8. Lines: 27
  9. Message-ID: <slrneu6fg9.ci2.fdc@panix3.panix.com>
  10. References: <1171461754.452734.293090@a75g2000cwd.googlegroups.com> <slrnet6bnr.t17.fdc@panix1.panix.com> <1171474573.115000.277200@v45g2000cwv.googlegroups.com> <slrnet95nd.1b6.fdc@panix2.panix.com> <1171585254.113397.40400@v33g2000cwv.googlegroups.com> <slrnetc6ch.8ae.fdc@panix1.panix.com> <1172066927.099583.146980@j27g2000cwj.googlegroups.com> <slrnetp1rf.1j0.fdc@panix1.panix.com> <1172090871.101683.127130@l53g2000cwa.googlegroups.com> <slrnetro08.nif.fdc@panix3.panix.com> <1172503554.928519.186200@z35g2000cwz.googlegroups.com> <1172514930.916740.42000@a75g2000cwd.googlegroups.com>
  11. Reply-To: fdc@columbia.edu
  12. NNTP-Posting-Host: panix3.panix.com
  13. X-Trace: reader2.panix.com 1172520457 28671 166.84.1.3 (26 Feb 2007 20:07:37 GMT)
  14. X-Complaints-To: abuse@panix.com
  15. NNTP-Posting-Date: Mon, 26 Feb 2007 20:07:37 +0000 (UTC)
  16. User-Agent: slrn/0.9.8.0 (NetBSD)
  17. Xref: panix comp.protocols.kermit.misc:15656 comp.unix.solaris:550175
  18.  
  19. On 2007-02-26, Gary Quiring <gquiring@gmail.com> wrote:
  20. : By including the 'undef EM' line in ck_ssl.h kermit compiles clean
  21. : once I changed openssl to use shared vs static libs.  With shared libs
  22. : Kermit still does not compile unless I use the 'undef EM' line.  So
  23. : the million dollar question, what does that 'undef EM' do?
  24. :
  25. Honestly, I have no idea.  Again, I have Solaris 9 and OpenSSL 0.9.8d here
  26. too, just like you, and I'm building it with Sun CC (not gcc), just like you,
  27. and C-Kermit/SSL builds with no problem.  There is no #define EM anywhere in
  28. the C-Kermit source code, so the #undef must be to undo some conflict between
  29. OpenSSL and Solaris headers.  But in that case, why do you see the problem and
  30. I don't -- nor, as far as I know, anybody else?
  31.  
  32. I notice that the suggested location for the #undef is right after this:
  33.  
  34. #ifdef ZLIB
  35. #include <openssl/comp.h>
  36. #endif /* ZLIB */
  37.  
  38. Maybe comp.h, or something it includes (such as crypto.h), or something
  39. crypto.h includes, or something that one of those includes, and on and on,
  40. is the culprit.
  41.  
  42. You can build Kermit with SSL but without compression.  Just omit the
  43. -DZLIB switch.  See if that makes a difference.
  44.  
  45. - Frank